package org.training.apr.security;

import org.training.apr.model.User;

public final class FakeSecurityContext {
	private User user;
	
	private static FakeSecurityContext instance = null;
	
	public static final FakeSecurityContext getInstance() {
		if(instance == null) {
			instance = new FakeSecurityContext();
		}
		return instance;
	}
	
	private FakeSecurityContext() {
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
}
